package cn.lingyangwl.agile.food.model.rqrs.store;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 门店
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value = "门店")
public class StoreResp extends StoreBase {
	private Long id;

	@ApiModelProperty(value = "员工数量")
	private Integer employeeNumber;
	
	@ApiModelProperty(value = "创建时间")
	private Date createdAt;
	
	@ApiModelProperty(value = "更新时间")
	private Date updatedAt;
	
	@ApiModelProperty(value = "创建者")
	private String createdBy;
	
	@ApiModelProperty(value = "更新者")
	private String updatedBy;

	@ApiModelProperty(value = "用户距离当前店铺的距离")
	private Integer distance;

	@ApiModelProperty(value = "距离单位")
	private String distanceUnit;


	@ApiModelProperty(value = "外卖包装费类型: 0按商品收费, 1按单收费")
	private String bagType;

	@NotNull(message = ValidationCons.NOT_EMPTY)
	@ApiModelProperty(value = "外卖包装费")
	private BigDecimal bagPrice;

	@NotNull(message = ValidationCons.NOT_EMPTY)
	@ApiModelProperty(value = "店内包装费类型: 0按商品收费, 1按单收费")
	private String storeBagType;

	@NotNull(message = ValidationCons.NOT_EMPTY)
	@ApiModelProperty(value = "店内包装费")
	private BigDecimal storeBagPrice;

	@ApiModelProperty(value = "配送方式")
	private List<String> deliveryWays;
}
